# DuckDuckGo Search Notify

**ATTENTION:**
Please read about the *[security concerns](https://notabug.org/jayvii/Scripts/src/master/README.md#attention)* of using random scripts from the internet

> makes use of "ddg.py" to offer a quick search for your linux-desktop.
> Screenshot: https://media.linuxdistrocommunity.com/media_entries/208/2015-07-19-025600_1024x600_scrot.png

# Requires
> ddg.py (See: https://github.com/jshrake/ddg )
> libnotify
> dmenu

# Tested with:
> Voidlinux
> libnotify-0.7.6
> xfce4-notifyd-0.2.4
> ddg-28.07.14
> dmenu-4.5_10

# How it works:
> Variable `$DDG_SEARCH` will be assigned, whatever is typed into `dmenu`.
> `$DDG_SEARCH`'s will be piped into ddg. The result will be saved in variable `$DDG_RESULT`
> `notify-send` will output both variables (alternatively, `echo` does the output)
> See [actual script](DuckDuckGo%20Search%20Notify/ddgsearchify.sh) for more information.

# Other
> As of now (ddg.py 2.2), it only seems to work with python-2.7, **NOT** python-3.4.
> I recommend to save [this picture](http://dist.alternativeto.net/icons/duckduckgo_43340.png?width=50&height=50&mode=crop&anchor=middlecenter) as `~/.icons/ddg.png` (will be used in your notification).

# Screenshot
![calculate](DuckDuckGo%20Search%20Notify/screenshot1.png)
![band](DuckDuckGo%20Search%20Notify/screenshot2.png)
